<?php
include '../connect/common_start.php';
if(isset($_REQUEST['id']))
{
	$id=$_REQUEST['id'];
	$sql="SELECT * FROM member m WHERE (m.id='$id' AND m.status='1')";
	$result=mysql_query($sql);
	if(mysql_num_rows($result)>0){
		$r = mysql_fetch_assoc($result);
		echo json_encode($r);
	}else{
		echo '[]';
	}

}
include '../connect/common_end.php';
?>
